﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AfvandingService.DOAs
{
    public interface IPumpestationDAO
    {
        /// <summary>
        /// Opretter en pumpe i databasen.
        /// </summary>
        /// <param name="pumpe"></param>
        void OpretPumpe(Pumpe pumpe);

        /// <summary>
        /// Opdatérer en pumpe i databasen.
        /// </summary>
        /// <param name="pumpe"></param>
        void OpdatérPumpe(Pumpe pumpe);

        /// <summary>
        /// Sletter en pumpe i databasen.
        /// </summary>
        /// <param name="pumpestationsnr"></param>
        /// <param name="pumpenr"></param>
        void SletPumpe(int pumpestationsnr, int pumpenr);

        /// <summary>
        /// Ændrer pumpestatus i databasen.
        /// </summary>
        /// <param name="pumpestationsnr"></param>
        /// <param name="pumpenr"></param>
        void ÆndrPumpeStatus(int pumpestationsnr, int pumpenr, bool status);
    }
}
